package demo3;
class TestDemo implements iTest {
    public void testA() {
        System.out.println("重写testA()");
    }
    public void defaultMethod() {
        System.out.println("重写defaultMethod()");
    }
}

public class Test {
    public static void main(String[] args) {
        iTest.testStatic();
        iTest testDemo = new TestDemo();
        testDemo.defaultMethod();
    }
}
